package com.ch8.demo02;

/**
 * @author woldier
 * @version 1.0
 * @description TODO
 * @date 2023/6/8 9:42
 **/
public class TestClass {
    private int a = 0;

    public void setA(int a) {
        this.a = a;
    }

    public int getA() {
        return a;
    }

    public InnerClass newInnerClass(){
        return new InnerClass();
    }
    class InnerClass{
       public void  set(int a){
           setA(a);

       }
       public int get(){
           return getA();
       }
    }

}
